﻿#ifdef _WIN32
#include <process.h>
#else
#include <unistd.h>
#endif

#include <thread>

#include "customsysteminfo.h"

int Custom::cpuThreadsCount()
{
    return (int)std::thread::hardware_concurrency();
}

int Custom::currentPid()
{
    return _getpid();
}
